package com.lius.SpringBootStart.service;

import com.lius.SpringBootStart.domain.User;

import java.util.List;

public interface UserService {

    String login(String account, String passwd);

    List<User> getUser();

    /**
     * 通过token获取对应的用户
     * @param token
     * @return
     */
    User getUserByToekn(String token);
}
